#We define the flags that will be passed as arguments to the compiler through
#the ADD_DEFINITIONS directive. It is optional to do it but the default flags
#passed to the compiler are not sufficiently severe to check and report the
#warnings and bugs.
ADD_DEFINITIONS(-g -Wall)

SET (LOCAL_LIB_PATH ../lib)
SET (SRC_LIST InThread.cpp ProcessThread.cpp OutThread.cpp main.cpp)

ADD_EXECUTABLE(threadCommunication ${SRC_LIST})

#Designate the library linked to.
TARGET_LINK_LIBRARIES(threadCommunication  log -L/usr/local/lib
boost_thread-mt boost_system-mt  log4cpp)
